<?php
class ArticlesTag extends AppModel {

	var $name = 'ArticlesTag';
	var $validate = array(
		'id' => array('numeric'),
		'article_id' => array('numeric'),
		'tag_id' => array('numeric')
	);

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
			'Article' => array('className' => 'Article',
								'foreignKey' => 'article_id',
								'conditions' => '',
								'fields' => '',
								'order' => ''
			),
			'Tag' => array('className' => 'Tag',
								'foreignKey' => 'tag_id',
								'conditions' => '',
								'fields' => '',
								'order' => ''
			)
	);

}
?>